//
//  DHCycleTableViewCell.h
//  YDAPP
//
//  Created by tyxd on 17/2/27.
//  Copyright © 2017年 TYXD. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JGGView.h"
#import "CZQCycleModel.h"
@class DHCycleTableViewCell,DHReplaceModel,DHBtnCuston;
@protocol DHCycleTableViewCellDelegate <NSObject>

@optional;

//评论圈子的代理
-(void)cycleTableViewCellWithComment:(DHCycleTableViewCell *)cell;

//评论圈子的评论代理
-(void)cycleTableViewCellCommentWithComment:(DHReplaceModel *)replaceModel :(DHCycleTableViewCell *)cell;

//弹出点赞的按钮
-(void)cycleTableViewCellWithLikeView:(DHCycleTableViewCell *)cell;

//打开关闭全文
-(void)cycleTableViewCellWithOpenClose:(DHCycleTableViewCell *)cell;

//点赞,取消点赞的按钮
-(void)cycleTableViewCellWithLikeAndDislike:(DHCycleTableViewCell *)cell;

//删除按钮
-(void)cycleTableViewCellWithDeleteMyCycle:(DHCycleTableViewCell *)cell;

@end

@interface DHCycleTableViewCell : UITableViewCell

//@property(nonatomic,strong)DHAllCycleModel *model;

//记录赞面板的
@property(nonatomic,assign)BOOL hid;

//头像
@property(nonatomic,strong)UIButton *iconBtn;

//昵称
@property(nonatomic,strong)UILabel *nameLable;

//性别
@property(nonatomic,weak)UIButton *sexBtn;

//举报
@property(nonatomic,weak)UIButton *reportBtn;

//发布时间
@property(nonatomic,strong)UILabel *timeLable;

//场馆名称
@property(nonatomic,strong)UIButton *clubNameBtn;

////带链接视图
//@property(nonatomic,strong)UIView *urlView;
//
////带链接图片
//@property(nonatomic,strong)UIImageView *urlImageView;
//
////带链接内容
//@property(nonatomic,strong)UILabel *urlContentLable;

//圈子内容
@property(nonatomic,strong)UILabel *contentLable;

//更多内容
@property(nonatomic,strong)UIButton *moreBtn;

//放图片面板
@property (nonatomic, strong) JGGView *jggView;

/**
 观看人数
 */
@property (nonatomic, weak) UIButton *seeBtn;

/**
 评论人数
 */
@property (nonatomic, weak) UIButton *talkBtn;

/**
 点赞人数
 */
@property (nonatomic, weak) UIButton *goodBtn;


//自己发布有删除按钮
@property(nonatomic,strong)UIButton *deleteBtn;



//弹出评论点赞按钮
@property(nonatomic,strong)UIButton *upBtn;

//评论点赞面板
@property(nonatomic,strong)UIView *likeView;

//展现评论内容点赞的人面板
@property(nonatomic,strong)UIView *likeCountView;


/**
 数据
 */
@property(nonatomic,strong)CZQCycleModel *cycleModel;

@property(nonatomic,assign)id<DHCycleTableViewCellDelegate> delegate;


@end
